// src/main/java/com/nb/dto/MenuCreateDTO.java
package com.nb.dto;

/**
 * 菜单创建DTO
 */
public class MenuCreateDTO {

    /**
     * 菜单名称
     */
    private String name;

    /**
     * 前端路由路径
     */
    private String path;

    /**
     * 图标标识
     */
    private String icon;

    /**
     * 父菜单ID（0表示根菜单）
     */
    private Long parentId;

    /**
     * 排序值（默认0）
     */
    private Integer sort;

    /**
     * 关联权限点ID
     */
    private Long aclId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Long getAclId() {
        return aclId;
    }

    public void setAclId(Long aclId) {
        this.aclId = aclId;
    }

    @Override
    public String toString() {
        return "MenuCreateDTO{" +
                "name='" + name + '\'' +
                ", path='" + path + '\'' +
                ", icon='" + icon + '\'' +
                ", parentId=" + parentId +
                ", sort=" + sort +
                ", aclId=" + aclId +
                '}';
    }
}
